module.exports = {
    apps: [{
      name: 'games-server',
      script: 'server.js',
      instances: 1,
      autorestart: true,
      watch: false,
      max_memory_restart: '1G',
      env: {
        NODE_ENV: 'production',
        PORT: 5000,
        HOST: '0.0.0.0'
      },
      log_date_format: 'YYYY-MM-DD HH:mm:ss',
      error_file: '/opt/games/logs/server-error.log',
      out_file: '/opt/games/logs/server-out.log'
    }]
  };